/**
 * @filename:Material Jan 14, 2025
 * Copyright(c) 2022 Wonder Co. Ltd.
 * All right reserved.
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description:TODO(模具列表实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_mold_material")
@ApiModel(value="t_mold_material", description="模具列表")
public class MoldMaterial extends Model<MoldMaterial> {

    private static final long serialVersionUID = 1736838924201578L;

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "")
    private Long id;

    @TableField(value = "materialNo")
    @ApiModelProperty(name = "materialNo" , value = "物料编码")
    private String materialNo;

    @TableField(value = "materialName")
    @ApiModelProperty(name = "materialName" , value = "物料名称")
    private String materialName;

    @TableField(value = "specification")
    @ApiModelProperty(name = "specification" , value = "物料规格")
    private String specification;

    @TableField(value = "unitNumber")
    @ApiModelProperty(name = "unitNumber" , value = "单位编码")
    private String unitNumber;

    @TableField(value = "unitName")
    @ApiModelProperty(name = "unitName" , value = "单位名称")
    private String unitName;

    @TableField(value = "stockNo")
    @ApiModelProperty(name = "stockNo" , value = "仓库编码")
    private String stockNo;

    @TableField(value = "stockName")
    @ApiModelProperty(name = "stockName" , value = "仓库名称")
    private String stockName;

    @TableField(value = "createTime")
    @ApiModelProperty(name = "createTime" , value = "创建时间")
    private Date createTime;

    @TableField(value = "status")
    @ApiModelProperty(name = "status" , value = "数据状态0在库 1已领用 2报废")
    private int status;

//    @TableField(value = "forbidStatus")
//    @ApiModelProperty(name = "forbidStatus" , value = "禁用状态")
//    private int forbidStatus;

    @TableField(value = "erpCl")
    @ApiModelProperty(name = "erpCl" , value = "模具属性")
    private int erpCl;

    @TableField(value = "firstIns")
    @ApiModelProperty(name = "firstIns" , value = "首检次数")
    private int firstIns;

    @TableField(value = "continueIns")
    @ApiModelProperty(name = "continueIns" , value = "续检次数")
    private int continueIns;

    @TableField(value = "locationNo")
    @ApiModelProperty(name = "locationNo" , value = "仓位编码")
    private String locationNo;

    @TableField(value = "locationName")
    @ApiModelProperty(name = "locationName" , value = "仓位名称")
    private String locationName;


    @TableField(value = "useCount")
    @ApiModelProperty(name = "useCount" , value = "使用次数(检查后的使用次数)")
    private int useCount;


    @TableField(value = "useAllCount")
    @ApiModelProperty(name = "useAllCount" , value = "使用总次数")
    private int useAllCount;

    @TableField(value = "inspectCount")
    @ApiModelProperty(name = "inspectCount" , value = "检查次数")
    private int inspectCount;

    @TableField(value = "inspectStatus")
    @ApiModelProperty(name = "inspectStatus" , value = "检查状态")
    private int inspectStatus;

    @TableField(value = "maintenCount")
    @ApiModelProperty(name = "maintenCount" , value = "维修次数")
    private int maintenCount;

    @TableField(value = "assBillNo")
    @ApiModelProperty(name = "assBillNo" , value = "关联的工序号")
    private String assBillNo;

    @TableField(value = "isTemp")
    @ApiModelProperty(name = "isTemp" , value = "是否临时数据")
    private Boolean isTemp;

    @TableField(value = "pickUser")
    @ApiModelProperty(name = "pickUser" , value = "模具领用人员")
    private String pickUser;
}
